#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPainter>
#include <QColorDialog>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void paintEvent(QPaintEvent*);

private:
    Ui::MainWindow *ui;
private:
    QColor diffuseColor;
    QColor specularColor;
    QColor ambientColor;
private slots:
    void on_checkBox_lightEnable_stateChanged(int arg1);
    void on_checkBox_doubleFace_stateChanged(int arg1);
    void on_checkBox_infinite_stateChanged(int arg1);
    void on_checkBox_global_stateChanged(int arg1);
    void on_pushButton_diffuse_clicked();
    void on_pushButton_specular_clicked();
    void on_pushButton_ambient_clicked();
    void on_comboBox_material_activated(int index);
};

#endif // MAINWINDOW_H
